﻿using System;

namespace Mendel
{
    // adattípus
    public enum DType { Integer, Float, String, List, Word, Reference};

    // szereptípus
    public enum RType { Normal, DataStackDepth, SkipSignal, JumpTo };

    // futási mód
    public enum RMode { Normal=0, Skip, Compile };

    public class Error
    {
        public Nullable<Int32> TaskId { get; set; }

        public Exception e { get; set; }

        public DateTime Time { get; set; }

        public Error(Nullable<Int32> ti, Exception ex, DateTime t)
        {
            TaskId = ti;
            e = ex;
            Time = t;
        }
    }
}
